package com.cn.wanxi.util.service.impl;

import com.cn.wanxi.util.dao.impl.BannerDao;
import com.cn.wanxi.util.model.BannerModel;
import com.cn.wanxi.util.model.CourseModel;
import com.cn.wanxi.util.service.IBannerSercice;
import com.cn.wanxi.util.service.ICourseService;

import java.util.List;

public class BannerService implements IBannerSercice {
    BannerDao bannerDao = new BannerDao();
    @Override
    public List<BannerModel> getBannerModel() {
        List<BannerModel> bannerModels =bannerDao.banner();
        return bannerModels;
    }
}
